<!DOCTYPE html>
<html lang="zh-CN">

<head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        .light {
            height: 20px;
            width: 20px;
            padding: 3px;
            border: 2px solid dimgrey;
            border-radius: 16px;
        }

        .light_box {
            border-radius: 10px;
            height: 20px;
            width: 20px;
        }

        .light_0 {
            background: lightgray;
        }

        .light_1 {
            background: hotpink;
        }

        .light_2 {
            background: lightcyan;
        }

        .light_3 {
            background: deepskyblue;
        }
    </style>
</head>

<body>
    <div class='light'>
        <div class='light_box light_0'></div>
    </div>
    <button>switch light 中文</button>
</body>

<script>
    
</script>
</html>